package Java8_24;

public class TeacherTest {
    public static void main(String[] args) {
        TeacherJava a = new TeacherJava("王老师", 30, 5, "男");
        a.teacher();
        a.java();
        TeacherUi b = new TeacherUi("王老师", 35, 5, "女");
        b.teacher();
        b.ui();
        TeacherNet c = new TeacherNet("王老师", 36, 5, "男");
        c.teacher();
        c.net();
    }
}
